package Boot.test.Server;

import Boot.test.Dao.ServerBook;
import Boot.test.Domain.two;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class Server {
    @Autowired
    ServerBook serverBook;
    public List<two> findId(){
        List<two> all = serverBook.findAll();
        return  all;
    }
}
